package cn.angis.common.model;

/**
 * 包名称：cn.angis.common.model
 * 类名称：SM2KeyPair
 * 类描述：
 * 创建人：@author angis.cn
 * 创建日期： 2025/6/12 17:39
 */
public class SM2KeyPair<U, V> {
    protected V privateKey;
    protected U publicKey;

    public SM2KeyPair(U publicKey, V privateKey) {
        this.publicKey = publicKey;
        this.privateKey = privateKey;
    }

    public U getPublic() {
        return publicKey;
    }

    public V getPrivate() {
        return privateKey;
    }
}

